<div class="headbar">
	<div class="position">订单<span>></span><span>单据管理</span><span>></span><span>退款单申请列表</span></div>
	<div class="operating">
		<a href="javascript:void(0)" onclick="selectAll('id[]')"><button class="operating_btn" type="button"><span class="sel_all">全选</span></button></a>
		<a href="javascript:void(0)" onclick="delModel()"><button class="operating_btn" type="button"><span class="delete">批量删除</span></button></a>
	</div>
	<div class="field">
		<table class="list_table">
			<col width="30px" />
			<col width="30px" />
			<col width="160px" />
			<col />
			<col width="100px" />
			<col width="100px" />
			<col width="130px" />
			<thead>
				<tr>
					<th class="t_c">选择</th>
					<th></th>
					<th>订单号</th>
					<th>退款原因</th>
					<th>退款类型</th>
					<th>退款状态</th>
					<th>申请时间</th>
				</tr>
			</thead>
		</table>
	</div>
</div>
<form name="orderForm" action="{url:/order/refundment_doc_del}" method="post">
<div class="content">
	<table class="list_table">
			<col width="30px" />
			<col width="30px" />
			<col width="160px" />
			<col />
			<col width="100px" />
			<col width="100px" />
			<col width="130px" />
		<tbody>
			{set:$page= (isset($_GET['page'])&&(intval($_GET['page'])>0))?intval($_GET['page']):1;}
			{query: name=refundment_doc as c fields=c.id,c.order_no,c.content,c.refundment_type,c.time,c.pay_status where=c.if_del eq 0 order= c.id desc  page=$page }
			<tr>
				<td class="t_c"><input name="id[]" type="checkbox" value="{$item['id']}" /></td>
				<td><a href="{url:/order/refundment_doc_show/id/$item[id]}"><img class="operator" src="{skin:images/admin/icon_check.gif}" title="查看" /></a></td>
				<td>{$item['order_no']}</td>
				<td>{$item['content']}</td>
				<td>{if:$item['refundment_type']==0}退款至账户余额{elseif:$item['refundment_type']==1}退款至银行卡{else:}其它方式{/if}</td>
				<td>{if:$item['pay_status']==0}申请退款{elseif:$item['pay_status']==1}退款失败{else:}退款成功{/if}</td>
				<td>{$item['time']}</td>
			</tr>
			{/query}
		</tbody>
	</table>
</div>
{$query->getPageBar()}
</form>
